package com.myexploit.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.Part;

public interface UtilInterface {
    /**
     * 下载文件
     */
    Object downloadFile(String filename, String urlStr) throws Exception;
    /**
     * 上传文件
     */
    Object uploadFile(MultipartFile upfile, String fileName) throws Exception;
    /**
     * 上传serverlet part
     * */
    Object uploadPart(Part upfile, String fileName) throws Exception;
    /**
     * 删除上传的文件
     */
    Object delDfsFile(String url) throws Exception;
    /**
     * 根据文件名上传文件
     */
    Object uploadFile(String fileName) throws Exception;
    /**
     * 归集文件删除
     */
    Object collectFileDel(String fileurl) throws Exception;
    /**
     * 根据文件名上传文件并保存归集信息
     */
    Object collectUploadFile(String filename,String ordertype,String orderno,String filetype) throws Exception;

}
